﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JoeResume.Model
{
    public class PersonalInfo
    {
        public int Id { get; set; }
        [Required]
        [MaxLength(100)]
        public string Name { get; set; }
        [MaxLength(100)]
        public string Address { get; set; }
        [MaxLength(50)]
        public string City { get; set; }
        [MaxLength(10)]
        public string State { get; set; }
        [MaxLength(10)]
        public string Zip { get; set; }
        [MaxLength(20)]
        public string HomePhone { get; set; }
        [MaxLength(20)]
        public string MobilePhone { get; set; }
        [MaxLength(100)]
        public string Email { get; set; }

        public virtual ICollection<Resume> Resumes { get; set; } 
    }
}
